/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2023-02-28
 * Time:16:31
 */
class Wood{
    public Wood(){
        System.out.println("构造-父类-Wood");
    }
    static {
        System.out.println("静态-父类-wood");
    }
    {
        System.out.println("实例-父类-wood");
    }
}
public class Teak extends Wood {
    public Teak(){
        System.out.println("构造-子类-Teak");
    }
    static {
        System.out.println("静态-子类-Teak");
    }
    {
        System.out.println("实例-子类");
    }

    public static void main(String[] args) {
        new Teak();
    }
}
